Rudolph snow globe goal: a Jlerts custom widget
===============================================

Rudolph stands on a snowy hill inside a snow globe. As your goal goes up, the gold ring round the globe fills, stars
come out and his red nose lights up the whole globe. Each new one makes him hop, flashes his nose and shakes the snow.
At the goal the northern lights come out and he keeps bouncing happily. In between he blinks, looks around and flicks
his ear. It counts followers, subs, bits, tips, raiders, channel point redeems, or everything, and remembers its count
between streams.

Counts from: choose Twitch and Kick, Twitch only or Kick only in its settings, so you can have one goal for Kick
followers and another for Twitch subs (add the widget twice). Tips always count, as they don't come from either.

Show a Jlerts goal (recommended)
Make a goal in Jlerts (Widgets -> + New widget -> Goal (followers), Goal (subs)...), then pick it in this widget's
first setting. Jlerts then does the counting: live events, anything you missed while Jlerts was shut (catch-up), the
goal's resets and its reached alert. Every scene shows the same numbers, even after OBS was shut or a scene was
hidden, and the same goal can be shown by several widgets. Its counting settings (what fills it, goal, start from)
are then not used. !rudolph add 5, !rudolph set 20 and !rudolph reset change the Jlerts goal.
Without a goal picked, it counts by itself as before.

Add it to Jlerts
1. Unzip this folder somewhere it can stay (for example Documents\Jlerts widgets\Rudolph snow globe goal).
2. In Jlerts: Widgets -> + New widget -> Custom widget (HTML / CSS / JS).
3. Widget folder -> Choose folder... and pick this folder. Its settings appear underneath.
4. It takes its own name and size (400 x 480) from widget.json when you choose the folder.
   Drag it onto your overlay. To change its size, drag the edges of its box on the canvas: it gets more room and
   stays sharp in OBS.
Try it with the Test buttons: "Count Test events too" is on, so tests fill it. Turn that off before you go live, then
type "!rudolph reset" in chat.

Chat commands (you and your mods): !rudolph add 5   !rudolph set 20   !rudolph reset

Change it
  widget.json  its name and size when it's added
  fields.json  the settings people can change without code
  index.html   the globe and Rudolph, drawn in SVG
  style.css    the words on the stand
  script.js    the counting, the ring, the nose light, the hops and the snow
After changing a file, refresh the overlay in OBS (right-click it -> Refresh).

Free to use and change for your streams.
